'use strict';

var express = require('express');
var router = express.Router();
var noticeController = require('../controllers/notice.controller');

// 获取notice列表
router.post('/notice/list',noticeController.list);

// 修改notice
router.put('/notice/edit',noticeController.edit);

// 删除notice
router.delete('/notice/del',noticeController.del);
// 添加notice
router.post('/notice/add',noticeController.add);


module.exports = router;
